package template;

import com.google.common.eventbus.Subscribe;
import org.springframework.stereotype.Service;

/**
 * @author 59960549
 */
@Service
public class StudentService {

    @Subscribe
    public void process(XxxCommand comamnd) {
        System.out.println("处理 XxxCommand");
    }

    @Subscribe
    public void process(YyyCommand comamnd) {
        System.out.println("处理 YyyCommand");
    }

    @Subscribe
    public void process(ZzzCommand comamnd) {
        System.out.println("处理 ZzzCommand");
    }

    @Subscribe
    public String process(AaaQuery query) {
        System.out.println("处理 AaaQuery");
        return "hello world";
    }
}
